package com.JFapp.service;

import com.JFapp.domain.dto.CategoryDto;
import com.JFapp.domain.entity.Category;
import com.JFapp.domain.entity.ResponseResult;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * (Category)表服务接口
 *
 * @author makejava
 * @since 2024-03-13 19:20:35
 */
public interface CategoryService extends IService<Category> {

    ResponseResult getCategoryList();

    ResponseResult selectCategory(Integer pageNum, Integer pageSize);

    ResponseResult addCategory(CategoryDto category);

    ResponseResult updateCategory(Category category);

    ResponseResult deleteCategory(Long id);


    ResponseResult getCategoryDetail(Long id);

    ResponseResult getListAllCategory();
}
